//
//  UILabel+AutoSize.h
//  Courses
//
//  Created by xxx on 15/1/11.
//  Copyright (c) 2015年 wtf. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface UILabel (AutoSize)

- (void)autoSetSizeWithPreferedWidth:(CGFloat)width preferedHeight:(CGFloat)height;
- (void)autoSetSizeWithInWidth:(CGFloat)width preferedHeight:(CGFloat)height;

- (UIView *)autoSizedBackgroundViewWithRadius:(CGFloat)radius color:(UIColor *)color;

@end
